package com.ytjj.qmyx.admin.mapper;

import com.ytjj.qmyx.admin.model.OrderProblemMessage;
import com.ytjj.qmyx.admin.model.OrderProblemMessageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderProblemMessageMapper {
    long countByExample(OrderProblemMessageExample example);

    int deleteByExample(OrderProblemMessageExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OrderProblemMessage record);

    int insertSelective(OrderProblemMessage record);

    List<OrderProblemMessage> selectByExample(OrderProblemMessageExample example);

    OrderProblemMessage selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OrderProblemMessage record, @Param("example") OrderProblemMessageExample example);

    int updateByExample(@Param("record") OrderProblemMessage record, @Param("example") OrderProblemMessageExample example);

    int updateByPrimaryKeySelective(OrderProblemMessage record);

    int updateByPrimaryKey(OrderProblemMessage record);

    List<OrderProblemMessage> queryMessage(@Param("receiveUser") Integer receiveUser);

    List<OrderProblemMessage> queryByChildOrderNoList(@Param("childOrderNoList") List<String> childOrderNoList);

    int updateProblemStatus(@Param("problemId") Integer problemId,@Param("problemStatus") Integer problemStatus);
}